package com.db.logger;

import java.util.Date;

public class LogEvent {

  private final Date date;
  private final LogLevel level;
  private final String thread;
  private final String logger;
  private final String message;

  public LogEvent(Date date, LogLevel level, String thread, String logger,
                  String message) {
    super();
    this.date = date;
    this.level = level;
    this.thread = thread;
    this.logger = logger;
    this.message = message;
  }

  public Date getDate() {
    return date;
  }

  public LogLevel getLevel() {
    return level;
  }

  public String getThread() {
    return thread;
  }

  public String getLogger() {
    return logger;
  }

  public String getMessage() {
    return message;
  }

}
